From dec6a3857f635824e02708b5c79535d971d90047 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Wed, 14 May 2008 09:31:44 +0100 Subject: [PATCH] hvm_op: Fix public header file to provide limited exposure to tools-only interface. Signed-off-by: Keir Fraser --- xen/include/public/hvm/hvm_op.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/xen/include/public/hvm/hvm_op.h b/xen/include/public/hvm/hvm_op.h index c2828c1f93..19f0cb707f 100644 --- a/xen/include/public/hvm/hvm_op.h +++ b/xen/include/public/hvm/hvm_op.h @@ -73,6 +73,9 @@ DEFINE_XEN_GUEST_HANDLE(xen_hvm_set_pci_link_route_t); /* Flushes all VCPU TLBs: @arg must be NULL. */ #define HVMOP_flush_tlbs 5 +/* Following tools-only interfaces may change in future. */ +#if defined(__XEN__) || defined(__XEN_TOOLS__) + /* Track dirty VRAM. */ #define HVMOP_track_dirty_vram 6 struct xen_hvm_track_dirty_vram { @@ -89,4 +92,6 @@ struct xen_hvm_track_dirty_vram { typedef struct xen_hvm_track_dirty_vram xen_hvm_track_dirty_vram_t; DEFINE_XEN_GUEST_HANDLE(xen_hvm_track_dirty_vram_t); +#endif /* defined(__XEN__) || defined(__XEN_TOOLS__) */ + #endif /* __XEN_PUBLIC_HVM_HVM_OP_H__ */ -- 2.30.2